#define _CRT_SECURE_NO_WARNINGS 1

#include "Queue.h"



void test1()
{
	Que s;
	QueueInit(&s);
	QueuePush(&s, 1);
	QueuePush(&s, 2);
	QueuePush(&s, 3);
	QueuePush(&s, 4);
	QueuePush(&s, 5);
	QueuePrint(&s);

	QueuePush(&s, 6);
	QueuePush(&s, 7);
	QueuePush(&s, 8);
	QueuePush(&s, 9);
	QueuePrint(&s);


	QueuePop(&s);
	QueuePrint(&s);

	QueuePop(&s);
	QueuePrint(&s);

	QDataType ret = QueueFront(&s);
	printf("%d\n",ret);

	ret = QueueBack(&s);
	printf("%d\n", ret);
   
	ret = QueueSize(&s);
	printf("%d\n",ret);


}


int main()
{
	test1();
	return 0;
}